package com.panshi.dao;


import com.panshi.vo.PagingVO;
import com.panshi.vo.SysUserVO;
import io.swagger.annotations.ApiParam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ISysUserDao {

    List<SysUserVO> findSysUserList(PagingVO<?> pagingVO);

    int findSysUserCount();

    void editSysUserStatus(long id, int status);

    int insertSysUserInfo(SysUserVO sysUserVO);

    SysUserVO getSysUserName(String name);

    void insertSysUserRole(long adminId, String[] roleIds);

    int delSysUserInfo(long id);

    // 删除用户的权限
    int dleSysUserJurisdiction(long id);

    int editSysUserInfo(SysUserVO sysUserVO);
}

